﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
    <script src="https://cdn.bootcss.com/vue/2.2.2/vue.min.js"></script>
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
</head>
<body>
    <div>
        <button onclick="ddd()">点击</button>
    </div>
    <script>
        function ddd() {
            axios.get('/Home/GetUserInfo')
                .then(function (response) {
                    console.log(response);
                    alert("1243");
                })
                .catch(function (error) {
                    console.log(error);
                })
        }
    </script>
</body>
</html>
